home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Desktop ToolTips 1.xpl < prev    next >
Text File  |  2001-01-06  |  2KB  |  59 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="3"
  4. "UIPATH"="Appearance\Desktop\Icons\Tool Tips"
  5. "NAME"="Icon Tool Tips #1"
  6. "VERSION"="2.03"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="My Computer"
  9. "TEXT 2"="My Documents"
  10. "TEXT 3"="My Network"
  11. "DESCRIPTION 1"="If you have ActiveDesktop or Windows 2000 installed, a small yellow window (aka Tool Tip) for these items will appear on the desktop if you pass them with your mouse."
  12. "DESCRIPTION 2"="You can change these tips to anything you want."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17.  
  18.  
  19. '******************************************************************
  20. '***             ###   MASTER TEMPLATE   ###                   ****
  21. '******************************************************************
  22. sVals=Array("{20D04FE0-3AEA-1069-A2D8-08002B30309D}","{450D8FBA-AD25-11D0-98A8-0800361B1103}","{208D2C60-3AEA-1069-A2D7-08002B30309D}")
  23. '******************************************************************
  24. '*** Keep an eye on the order (must be the same as "TEXT x") ! ****
  25. '******************************************************************
  26. sP="HKLM\Software\Classes\CLSID\"
  27. sV="InfoTip"
  28.  
  29. Sub Plugin_Initialize 
  30.  for i=0 to UBound(sVals)
  31.      Call ReadIt(i+1,sVals(i)) 
  32.  next 
  33. End Sub
  34.  
  35. Sub ReadIt(UI,VAL)
  36.  s=RegReadValue(sp & VAL & "\" & sV)
  37.  Call SetUIElement(UI,s)
  38. End Sub
  39.  
  40.  
  41.  
  42. Sub Plugin_CheckData(ElementIndex)
  43. End Sub
  44.  
  45. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  46.  for i=0 to UBound(sVals)
  47.      Call WriteIt(i+1,sVals(i)) 
  48.  next 
  49. End Sub
  50.  
  51. Sub WriteIt(UI,VAL)
  52.  s=GetUIElement(UI)
  53.  Call RegWriteValue(sp & VAL & "\" & sV,s,1)
  54. End Sub
  55.  
  56.  
  57. Sub Plugin_Terminate 
  58. End Sub
  59.